package com.sjb.stock;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.SpringApplication;
import org.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.sjb.stock.pojo.mapper") // 扫描mapper对象，并交给spring的ioc容器管理
public class BackendApp {
     public static void main(String[] args) {
          SpringApplication.run(BackendApp.class, args);
      }
}
